page {
  background-color: #23262D;

  // 电影
  .movie {

    // 位置+标题+搜索
    .header {
      width: 100%;
      height: 88rpx;
      position: fixed;
      top: 0;
      left: 0;
      background-color: #23262D;
      z-index: 999;

      .box {
        width: 100%;
        height: 50rpx;
        display: flex;
        justify-content: space-around;
        align-items: center;
        background-color: #33363D;
        padding: 19rpx 0;

        // 定位
        .location {
          display: flex;
          align-items: center;

          .city {
            opacity: 0.78;
            font-size: 28rpx;
            color: #DFDFDF;
          }

          .img {
            width: 26.3rpx;
            height: 13.6rpx;
            opacity: 0.78;
            background: #23262D;
            margin: 0 10rpx;
          }
        }

        // 标题
        .nav {
          display: flex;
          width: 328rpx;
          height: 50rpx;
          text-align: center;
          box-sizing: border-box;
          padding: 2rpx;
          border-radius: 12rpx 10rpx 10rpx 12rpx;
          background: linear-gradient(to right, #F2697F 0, #F19E65 100%);

          .title {
            width: 50%;
            height: 100%;
            font-size: 28rpx;
            color: #969393;
            line-height: 46rpx;
            background-color: #33363D;
            border-radius: 10rpx 0 0 10rpx;
          }

          .title:last-child {
            border-radius: 0 10rpx 10rpx 0;
          }

          .active {
            color: #fff;
            background-color: transparent;
          }
        }

        // 图标
        .icon {
          width: 27rpx;
          height: 27rpx;
        }
      }
    }

    // 正在热映
    .hot {
      margin: 88rpx 40rpx 200rpx;
      font-size: 24rpx;
      color: #FFFFFF;
      overflow: hidden;

      .item {
        width: 670rpx;
        height: 292rpx;
        display: flex;
        align-items: center;
        margin-top: 48rpx;
        background: #33363D;
        box-shadow: 0 0 8rpx 4rpx rgba(0, 0, 0, 0.04);
        border-radius: 12rpx;

        .img {
          width: 210rpx;
          height: 312rpx;
          border-radius: 15rpx;
          margin-bottom: 20rpx;
        }

        .box {
          width: 250rpx;
          margin-left: 20rpx;
          flex-grow: 1;

          .title {
            font-size: 32rpx;
            margin-top: 24rpx;
            margin-bottom: 10rpx;
          }

          .score {
            font-size: 28rpx;
            opacity: 0.8;
            display: flex;

            .num {
              color: #FBC34A;
              margin-left: 10rpx;
            }
          }

          .director {
            opacity: 0.47;
            margin-top: 12rpx;
          }

          .star {
            opacity: 0.47;
            margin-bottom: 24rpx;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
          }

          .desc {
            display: flex;

            .day {
              width: 96rpx;
              height: 34rpx;
              border: 2rpx solid #FBC34A;
              border-radius: 10rpx;
              color: #FBC34A;
              font-size: 20rpx;
              text-align: center;
              line-height: 34rpx;
            }

            .week {
              width: 96rpx;
              height: 34rpx;
              border: 2rpx solid #F26C7E;
              border-radius: 10rpx;
              color: #F26C7E;
              font-size: 20rpx;
              text-align: center;
              line-height: 34rpx;
              margin-left: 12rpx;
            }
          }

          .best {
            width: 96rpx;
            height: 34rpx;
            border: 2px solid #3C4CAC;
            border-radius: 10rpx;
            color: #3C4CAC;
            font-size: 20rpx;
            text-align: center;
            line-height: 34rpx;
          }
        }

        .sale {
          width: 108rpx;
          height: 50rpx;
          background-image: linear-gradient(150deg, #624BA3 0%, #CB4498 100%);
          border-radius: 12rpx;
          text-align: center;
          line-height: 50rpx;
          margin-right: 28rpx;
        }

        .buy {
          width: 108rpx;
          height: 50rpx;
          background-image: linear-gradient(150deg, #F25B86 0%, #F1AC5E 100%);
          border-radius: 12rpx;
          text-align: center;
          line-height: 50rpx;
          margin-right: 28rpx;
        }
      }
    }

    // 即将上映
    .soon {
      margin-top: 88rpx;
      margin-bottom: 200rpx;
      overflow: hidden;

      // 热门预告片
      .top {
        margin-left: 40rpx;

        .title {
          font-size: 36rpx;
          color: #DFDFDF;
          margin: 44rpx 0 16rpx;
        }

        .list {
          display: flex;
          overflow: auto;

          .item {
            font-size: 28rpx;
            color: #DFDFDF;
            position: relative;
            margin-left: 32rpx;
            border-radius: 20rpx;

            .img {
              width: 636rpx;
              height: 370rpx;
              border-radius: 20rpx;
            }

            .info {
              width: calc(100% - 36rpx);
              position: absolute;
              left: 18rpx;
              bottom: 20rpx;
              display: flex;
              justify-content: space-between;
              align-items: center;

              .left {
                display: flex;
                width: 50%;
                flex-grow: 1;

                .name {
                  margin-left: 20rpx;
                }
              }

              .date {
                width: 15%;
                font-size: 24rpx;
                color: #FFFFFF;
                text-align: right;
              }
            }
          }

          .item:first-child {
            margin-left: 0;
          }
        }
      }

      // 即将上映
      .bottom {
        .title {
          font-size: 36rpx;
          color: #DFDFDF;
          margin: 44rpx 0 44rpx 40rpx;
        }

        .date {
          display: flex;
          overflow: auto;

          .item {
            width: 164rpx;
            height: 52rpx;
            margin-left: 32rpx;
            margin-bottom: 10rpx;
            background-image: linear-gradient(150deg, #F25B86 0%, #F1AC5E 100%);
            border-radius: 26rpx;
          }

          .text {
            width: 156rpx;
            height: 44rpx;
            border: 4rpx solid #979797;
            background-color: #23262D;
            border-radius: 26rpx;
            font-size: 28rpx;
            color: #DFDFDF;
            text-align: center;
            line-height: 44rpx;
          }

          .textActive {
            border: 4rpx solid transparent;
            background-color: transparent;
          }

          .item:first-child {
            margin-left: 0;
          }
        }

        .list {
          width: 750rpx;
          margin: 0 40rpx;

          .item {
            width: 100%;
            height: 280rpx;
            margin-top: 44rpx;
            display: flex;
            align-items: center;
            background: #33363D;
            border-radius: 12rpx;

            .img {
              width: 234rpx;
              height: 100%;
              vertical-align: top;
              border-radius: 12rpx 0 0 12rpx;
            }

            .info {
              margin-top: 26rpx;
              margin-left: 28rpx;
              width: 40%;
              flex-grow: 1;

              .name {
                font-size: 36rpx;
                color: #FFFFFF;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
              }

              .look {
                margin: 18rpx 0;
                display: flex;

                .num {
                  font-size: 30rpx;
                  color: #FBC34A;
                }

                .text {
                  font-size: 28rpx;
                  color: #000000;
                  line-height: 42rpx;
                  margin-left: 10rpx;
                }
              }

              .director {
                opacity: 0.47;
                font-size: 24rpx;
                color: #FFFFFF;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                margin-bottom: 5rpx;
              }

              .star {
                opacity: 0.47;
                font-size: 24rpx;
                color: #FFFFFF;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
              }
            }

            .sale {
              width: 108rpx;
              height: 50rpx;
              background-image: linear-gradient(150deg, #624BA3 0%, #CB4498 100%);
              border-radius: 12rpx;
              text-align: center;
              line-height: 50rpx;
              font-size: 24rpx;
              color: #FFFFFF;
              margin-right: 32rpx;
            }
          }
        }
      }
    }

  }
}